Use the following code as an example of how to use the PEGetNTables function to find out how many tables are used in a report:
short nTables;
// Will hold the number of tables
nTables = PEGetNTables(Job);
if (nTable <= 0){
// Handle error
}
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |